package com.peace.hospital.entity.outpatientdept;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.LocalDate;

/**
 * <p>
 * 总收费表
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Allcharge implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 总收费表id
     */
    @TableId(value = "allid", type = IdType.AUTO)
    private Integer allid;

    /**
     * 病人id
     */
    private Integer pid;

    /**
     * 总价格
     */
    private Double allprice;

    /**
     * 划价日期
     */
    private Timestamp alldate;

    /**
     * 是否已结算
     */
    private Boolean allsettlement;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getAllid() {
        return allid;
    }

    public void setAllid(Integer allid) {
        this.allid = allid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Double getAllprice() {
        return allprice;
    }

    public void setAllprice(Double allprice) {
        this.allprice = allprice;
    }

    public Timestamp getAlldate() {
        return alldate;
    }

    public void setAlldate(Timestamp alldate) {
        this.alldate = alldate;
    }

    public Boolean getAllsettlement() {
        return allsettlement;
    }

    public void setAllsettlement(Boolean allsettlement) {
        this.allsettlement = allsettlement;
    }


}
